<?php


class Test extends Base_Controller
{
    public function __construct() {
        parent::__construct();
        //$this->load->driver('video', array('adapter' => 'tudou'));
    }
 
    public function index() {
    		
		$this->load->library('memcache');
		$this->memcache->set('test', 'helloworld',3600);
		echo $this->memcache->get('test');
		//echo $this->cache->memcached->get('foo');
		
    }
    
	 private function outputdata()
	{	
		
		$this->load->library('auth');
		$sessiondata = $this->session->userdata('1_test@163.com');
		print_r($sessiondata);
		
	}
}